import config.springconfig;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import service.UserService;

public class Main {
    public static void main(String[] args) {
        ApplicationContext ctx=new AnnotationConfigApplicationContext(springconfig.class);
        UserService bean = ctx.getBean(UserService.class);
        bean.getUserByID();
        Integer cs= (Integer) 1;
    }
}
